﻿@model MVC3DEMO.Models.Menu

@{
    ViewBag.Title = "Create";
    Layout = "~/Views/Shared/_LayoutAdmin.cshtml";
}

<script src="@Url.Content("~/Scripts/jquery.validate.min.js")" type="text/javascript"></script>
<script src="@Url.Content("~/Scripts/jquery.validate.unobtrusive.min.js")" type="text/javascript"></script>

<form method="post">
    @Html.ValidationSummary(true)
    <fieldset>
        <legend>Thêm mới Menu Chính</legend>

        <div class="editor-label">
            Tên Menu
        </div>
        <div class="editor-field">
           <input type="text" name="MenuName" id="MenuName" />
        </div>

        <div class="editor-label">
           Hien thi
        </div>
        <div class="editor-field">
        <input type="checkbox" name="show" id="show" />
            
        </div>

        <div class="editor-label">
        Uu tien
        </div>
        <div class="editor-field">
          <input type="text" name="priority" id="priority" />
        </div>

        <p>
            <input type="submit" value="Thêm mới" />
        </p>
    </fieldset>
</form>

<div>
    @Html.ActionLink("Back to List", "Views")
</div>
